#include "Label.h"

Label::Label(std::string message, Widget* parent, int x, int y) :
	Widget(x, y,std::string(LABEL_IMG_PATH), parent) {
}

Label::~Label() {

}

void Label::handleEvent(Event event) {
}

void Label::resolve() {

}
void Label::showOn(SDL_Surface* surface) {
	SDL_Rect rect;
	rect.x = parcel.posX;
	rect.y = parcel.posY;
	rect.w = parcel.width;
	rect.h = parcel.height;
	SDL_BlitSurface(this->surface, NULL, surface, &rect);
}
